package com.simple.card.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.simple.card.Utils.serializer.Date2LongSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class KaBaoUserDTO implements Serializable{

    private static final long serialVersionUID = -143629970703116861L;

    private Integer uid;

    private String token;

    private String username;

    private String phone;

    @JsonSerialize(using = Date2LongSerializer.class)
    private Date timeout;

    private Integer status;

    @JsonSerialize(using = Date2LongSerializer.class)
    private Date createTime;

    @JsonSerialize(using = Date2LongSerializer.class)
    private Date updateTime;
}
